<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./Time_moment.js"></script><!--引用时间模块 momentjs官网-->
</head>
<body>
  <script >
    
 console.log(moment().format('YYYY-MM-DD HH:mm:ss'));
  console.log(moment().add(1,"days").calendar());//加一天的日期是多久
  console.log(moment().add(1,"days").format("YYYY-MM-DD HH:mm:ss"));
  </script>
</body>
</html>